<template>
    <div>
        {{ icons }}
    </div>
</template>

<script lang="ts">
import * as AntdIcons from "@ant-design/icons-vue";
import { Options, Vue } from "vue-class-component";

const antdIcons: any = AntdIcons;
const icons: Array<string> = [];
for (const iconName in antdIcons) {
    if (!iconName.endsWith("Outlined")) {
        continue;
    }
    icons.push(iconName);
}

@Options({
    props: {
        value: String,
    },
    data() {
        return {
            icons: icons,
        };
    },
    components: {},
})
export default class IconSelect extends Vue {}
</script>